/*
 * drv_flash.h
 *
 *  Created on: Jun 8, 2023
 *      Author: hongwei_zhu
 */

#ifndef HARDWARE_INCLUDE_DRV_FLASH_H_
#define HARDWARE_INCLUDE_DRV_FLASH_H_

#include "ch32v20x.h"
#include "ch32v20x_flash.h"
#include "string.h"

void hal_flash_read(u32 address,u8 *buf,uint16_t len);
void hal_flash_write(u32 address,u8 *buf,uint16_t len);

#endif /* HARDWARE_INCLUDE_DRV_FLASH_H_ */
